home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hottest 6
/
Hottest 6 (1996)(PDSoft)[!].iso
/
software
/
videoutils
/
a-g
/
ami2d
/
test
/
beam2b.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1978-11-24
|
575b
|
38 lines
/* simple beam */
options results
if ~show('ports', "AMI2D") then do
address command 'run ami2d:bin/ami2d'
do while ~show('ports', "AMI2D")
end
end
address ami2d
call 'ami2d:rexx/pstress'
h = 0.5
L = 10.0
E1 = 10.0e6
nu1 = 0.3000
adt1 = 5.0e-5*100
'reset'
'iso(1,'E1','nu1',struct,'adt1')'
do i=0 to 20
xx = L*i/20
'node('i + 1','xx',0.0)'
'node('i + 31','xx','h')'
end
do i=0 to 19
'quad4('i + 1',1,'i + 1','i + 2','i + 32','i + 31')'
end
'dispx(1,0.0)'
'dispy(1,0.0)'
'dispx(31,0.0)'
'dispx(21,0.0)'
'dispx(51,0.0)'
'check'
say result
exit